<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <title>文档中心-技术标准</title>
</head>
<body>
<!-- content-body -->
<div class="main-inner">
    <div class="content-inner">
        <div class="meta-head">
            <div class="h3 w-15"><i class="lsk-jishu-icon"></i>技术标准 >
                <c:if test="${not empty standard}">编辑</c:if> <c:if test="${empty standard}">上传</c:if>
            </div>
        </div>
        <div class="zy-pick-line">
            <div class="zy-form-line">
                <div class="zy-input-group w-37">
                    <div class="zy-input-meta"><i class="zy-requird-icon"></i>标准类型:</div>
                    <div class="zy-radio-group" id="radioType">
                        <label>
                            <i class="zy-radio-icon <c:if test="${standard.type eq 'NATIONAL_STANDARD' or empty standard }">active</c:if>" data-value="NATIONAL_STANDARD"></i> 国家标准
                        </label>&nbsp;&nbsp;&nbsp;&nbsp;
                        <label>
                            <i class="zy-radio-icon <c:if test="${standard.type eq 'INDUSTRY_STANDARD'}">active</c:if>" data-value="INDUSTRY_STANDARD"></i> 行业标准
                        </label>&nbsp;&nbsp;&nbsp;&nbsp;
                        <label>
                            <i class="zy-radio-icon <c:if test="${standard.type eq 'ENTERPRISE_STANDARD'}">active</c:if>" data-value="ENTERPRISE_STANDARD"></i> 企业标准
                        </label>&nbsp;&nbsp;&nbsp;&nbsp;
                        <label>
                            <i class="zy-radio-icon <c:if test="${standard.type eq 'INTERNATIONAL_STANDARD'}">active</c:if>" data-value="INTERNATIONAL_STANDARD"></i> 国际标准
                        </label>&nbsp;&nbsp;&nbsp;&nbsp;
                    </div>
                </div>
                <div class="zy-sp"></div>
                <div class="zy-input-group w-27">
                    <div class="zy-input-meta"><i class="zy-requird-icon"></i>标准编号:</div>
                    <div class="zy-input-inner w-100">
                        <input id="JQ_standard_code" class="zy-i-input" placeholder="输入标准编号" maxlength="20"  value="${standard.code}" type="text">
                    </div>
                </div>
                <div class="zy-sp"></div>
                <div class="zy-input-group w-27">
                    <div class="zy-input-meta"><i class="zy-requird-icon"></i>标准名称:</div>
                    <div class="zy-input-inner w-100">
                        <input id="JQ_standard_name" class="zy-i-input" placeholder="输入标准名称" maxlength="20" value="${standard.name}" type="text">
                    </div>
                </div>
                <div class="clear"></div>
            </div>
            <div class="zy-form-line">
                <div class="zy-input-group w-30">
                    <div class="zy-input-meta"><i class="zy-requird-icon"></i>上传文件:</div>
                    <div class="zy-input-inner w-100">
                        <input id="up-file" class="zy-i-input" readonly="readonly"  value="${standard.fileRealName}${standard.fileType}" type="text">
                    </div>
                </div>
                <div class="zy-sp"></div>
                <div class="zy-input-group w-30">
                    <div class="zy-input-meta">&nbsp;</div>
                    <div class="zy-button-inner">
                        <button class="zy-button zy-search" id="JQ_standard_upload" data-type="docStandard"><i class="zy-search-icon"></i>浏览</button>
                    </div>
                </div>
            </div>
            <div class="clear"></div>
            <input type="hidden" id="standardId" value="${standard.id}">
            <input type="hidden" id="attachmentId" value="${standard.attachmentId}" /> <%-- 附件id --%>
        </div>
        <div class="zy-form-line lsk-m20 text-r">
            <button id="JQ_save" class="zy-button zy-export" type="button"><i class="zy-submit-icon"></i>保存</button>&nbsp;&nbsp;&nbsp;
            <button id="JQ_goback" class="zy-button zy-goback" type="button"><i class="zy-goback-icon"></i>返回</button>
        </div>
    </div>
</div>
<div class="zy-action-box plan-box">
    <form id="JQ_plan_form">
        <div class="zy-action-title">
            <span class="zy-action-span"></span>
            <input type="hidden" value="" id="JQ_plan_id">
        </div>
        <div class="zy-action-inner">
            <div class="zy-form-line">
                <div class="up-name">上传名字</div>
                <div class="clear"></div>
            </div>
            <div class="zy-form-line">
                <div class="up-process"><em></em></div>
                <span class="process-no">50%</span>
                <div class="clear"></div>
            </div>
            <div class="zy-form-line t-r">
                <br>
                <button id="JQ_action_yes_btn" class="zy-button zy-submit" type="button">确认</button>&nbsp;&nbsp;&nbsp;
                <button id="JQ_action_no_btn" class="zy-button" type="button">取消</button>
            </div>
        </div>
    </form>
</div>


<!-- plugin -->
<script src="${pageContext.request.contextPath}/static/js/plugin/myplugin/calender.plugin.js"></script>
<script src="${pageContext.request.contextPath}/static/js/plugin/plupload/plupload.full.min.js"></script>
<!-- ui -->
<script src="${pageContext.request.contextPath}/static/js/ui/ui-main.js"></script>
<!-- base -->
<script src="${pageContext.request.contextPath}/static/js/controller/base/base.controller.js"></script>
<!-- api -->
<script src="${pageContext.request.contextPath}/static/js/controller/api/docCenter.api.js"></script>
<!-- controller -->
<script src="${pageContext.request.contextPath}/static/js/controller/docCenter/technicalStEdit.controller.js"></script>
</body>
</html>